package cn.enjoy.dynamic.datasource.service;

import cn.enjoy.entity.User;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface IUserService extends IService<User> {

    @DS("master")
    User selectByIdMaster(Long id);


    User selectByIdSlave1(Long id);

}
